import pytest,os
from dir.log.log_setting import log_connect
from dir.send import send_fasong

if __name__ == '__main__':
    log_connect()
    pytest.main(["./test_api.py","-s","--clean-alluredir","--alluredir=./baogao"])
    os.system("allure generate ./baogao -o ./htmlbaogao--clean")
    send_fasong(['./log/logs.log','./htmlbaogao/index.html'])
















